﻿using System;
using System.Collections.Generic;
using System.Text;

namespace EShop.Model
{
    public class MerchandiseOrderDetail
    {
        private string _serialnumber;
        private int _orderid;
        private string _barcode;
        private int _stockinorder;
        private int _buynumber;
        private decimal _sellprice;
        private DateTime _saletime = DateTime.Now;

        //排序使用
        private int _orderbyID;
        public int OrderByID
        {
            set { _orderbyID = value; }
            get { return _orderbyID; }
        }


        /// <summary>
        /// 
        /// </summary>
        public string SerialNumber
        {
            set { _serialnumber = value; }
            get { return _serialnumber; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int OrderID
        {
            set { _orderid = value; }
            get { return _orderid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Barcode
        {
            set { _barcode = value; }
            get { return _barcode; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int StockInOrder
        {
            set { _stockinorder = value; }
            get { return _stockinorder; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int BuyNumber
        {
            set { _buynumber = value; }
            get { return _buynumber; }
        }
        /// <summary>
        /// 
        /// </summary>
        public decimal SellPrice
        {
            set { _sellprice = value; }
            get { return _sellprice; }
        }

        /// <summary>
        /// 
        /// </summary>
        public DateTime SaleTime
        {
            set { _saletime = value; }
            get { return _saletime; }
        }

        private decimal _saleprice;
        public decimal SalePrice
        {
            set { _saleprice = value; }
            get { return _saleprice; }
        }

        private string _UnitName;
        /// <summary>
        /// 商品单位
        /// </summary>
        public string UnitName
        {
            get { return _UnitName; }
            set { _UnitName = value; }
        }

        private string _MerchandiseName;
        /// <summary>
        /// 商品名称
        /// </summary>
        public string MerchandiseName
        {
            get { return _MerchandiseName; }
            set { _MerchandiseName = value; }
        }

    }
}
